﻿using System.Collections.Generic;
using HinduShop.Domain.Models.Account;

namespace HinduShop.UI.ViewModels.Account
{
    public class UserListViewModel
    {
        public IList<UserModel> Users { get; set; }

        public UserListViewModel(IEnumerable<User> usersParam )
        {
            Users = new List<UserModel>();

            foreach (User user in usersParam)
            {
                Users.Add(new UserModel(user));
            }
        }
    }
}